﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>网站登录</title>
    <script src="ScriptFile/jquery.js" type="text/javascript"></script>

    <%-- <script src="ScriptFile/DataJM/lc_md5.js"></script>--%>
    <script src="ScriptFile/loginValide.js" type="text/javascript"></script>

    <script type="text/javascript">
        function EnterKeyClick() {
            if (event.keyCode == 13) {
                event.keyCode = 9;
                event.returnValue = false;
                validate();
            }
        }
    </script>
    <style type="text/css">
        body {
            width: 100%;
            margin: 0px;
            padding: 0px;
            background: url(images/bj.jpg) no-repeat;
            height: 100%;
        }

        .bottom {
            width: 1050px;
            height: 300px;
            left: 180px;
            top: 30px;
            margin: 0 auto;
            background: url(images/yuan.png) no-repeat;
            position: relative;
        }

        .middle {
            width: 500px;
            height: 250px;
            left: 535px;
            top: 170px;
            margin: 0 auto;
            background: url(images/denglu.png) no-repeat;
            position: absolute;
            cursor: pointer;
        }

        .p_t, .p_t2, .p_t3, .userpwd, .dui, .cuo, #zhuce {
            position: absolute;
            top: 100px;
            left: 190px;
            width: 500px;
            height: 34px;
            border: 0px;
            font-size: 14px;
            line-height: 30px;
            color: #666;
        }

        .dui {
            top: 5px;
            left: 255px;
        }

        .cuo {
            top: 8px;
            left: 255px;
        }

        #zhuce {
            top: 340px;
            left: 430px;
        }

        .p_t {
            top: 220px;
            left: 180px;
        }

        .p_t2 {
            top: 260px;
            left: 180px;
        }

        .p_t3 {
            top: 300px;
            left: 180px;
            z-index: 2;
        }
    </style>
</head>
<body onkeydown="EnterKeyClick()">
    <form runat="server">
        <div style="padding-top: 270px;" class="bottom">
            <table align="center" border="0">
                <tbody>
                    <tr class="p_t">
                        <td>用户名：</td>
                        <td>
                            <input id="username" style='background: url("images/yhmmm.png")  rgb(255, 255, 255); border: 1px solid rgb(39, 179, 254); border-image: none; height: 20px; width:215px' type="text" />
                        </td>
                    </tr>
                    <tr class="p_t2">
                        <td>密&emsp;码：</td>
                        <td>
                            <input id="password" style='background: url("images/yhmmm.png") rgb(255, 255, 255); border: 1px solid rgb(39, 179, 254); border-image: none; height: 20px; width:215px' type="password" />
                        </td>
                    </tr>
                    <tr class="p_t3">
                        <td>验证码：</td>
                        <td>
                            <input id="txtCheckCode" style='background: url("images/yzmsr.png") repeat-y rgb(255, 255, 255); border: 1px solid rgb(39, 179, 254); border-image: none; height: 20px;width:150px' type="text" size="20" />
                            <img id="imgYzm" style="width: 60px; vertical-align: middle; cursor: pointer;"
                                onclick="this.src='CheckCode.aspx?rnd=' + Math.random();" alt="请点击刷新验证码"
                                src="CheckCode.aspx" />
                        </td>
                    </tr>
                    <tr>
                        <td id="zhuce">
                            <asp:LinkButton runat="server" ID="btnRegister" Style="width: 69px; height: 24px; color: white" OnClick="btnRegister_Click" Text=" 申请人注册 "></asp:LinkButton>
                        </td>
                    </tr>
                </tbody>
            </table>
            <div class="middle" onclick="validate(); ">
            </div>

        </div>

        <div style="text-align: center;">
        </div>
    </form>
</body>
</html>

<%--<table width="681" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top: 200px">
        <tr>
            <td width="353" height="259" align="center" valign="bottom" background="images/login/login_1.gif">
                <table width="90%" border="0" cellspacing="3" cellpadding="0">
                    <tr>
                        <td align="right" valign="bottom" style="color: #05B8E4">
                        </td>
                    </tr>
                </table>
            </td>
            <td width="195" background="images/login/login_2.gif">
                <table width="100%" height="106" border="0" align="center" cellpadding="2" cellspacing="0">
                    <tr>
                        <td height="50" colspan="2" align="left">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td height="30" align="left">
                            用户名称
                        </td>
                        <td>
                            <input id="username" type="text" style="background: url(images/login/login_6.gif) repeat-x;
                                border: solid 1px #27B3FE; height: 18px; background-color: #FFFFFF" size="17" />
                        </td>
                    </tr>
                    <tr>
                        <td height="30" align="left">
                            登陆密码
                        </td>
                        <td>
                            <input id="password" type="password" style="background: url(images/login/login_6.gif) repeat-x;
                                border: solid 1px #27B3FE; height: 18px; background-color: #FFFFFF" size="17" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            验证码：
                        </td>
                        <td>
                            <asp:TextBox ID="txtCheckCode" runat="server" Style="background: url(images/login/login_6.gif) repeat-x;
                                border: solid 1px #27B3FE; height: 18px; width: 50px; background-color: #FFFFFF"></asp:TextBox><img
                                    alt="img" style="height: 18px; vertical-align: middle" src="CheckCode.aspx" />
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" align="center">
                            <input type="button" style="width:69px;height:24px;background: url(images/login/login_5.gif) no-repeat"
                                id="btnLogin" value=" 登  陆 " onclick="validate();">
                            <asp:Button runat="server" ID="btnRegister" style="width:69px;height:24px;background: url(images/login/login_5.gif) no-repeat" OnClick="btnRegister_Click" Text=" 注册 "/>
                        </td>
                    </tr>
                </table>
            </td>
            <td width="133" background="images/login/login_3.gif">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td height="161" colspan="3" background="images/login/login_4.gif">
            </td>
        </tr>
    </table>

    </form>
</body>
</html>--%>
